<?php declare(strict_types=1);
/**
 * @author      xianganyall <xianganyall@gmail.com>
 * @copyright   2023-2025 owner
 **/

namespace Srv\Apps\Apis\Common\DefCtl;

final class DefReportCategoryCtl extends DefAbstract
{
    private const TABLE_NAME                = 'def_report_category';
    private const FIELD_ID                  = 'drtc_id';
    private const FIELD_KEY                 = 'drtc_key';
    public const KEY_REPORT_USER            = 'report_user';        // 举报用户
    public const KEY_REPORT_GROUP           = 'report_group';       // 举报群组
    public const KEY_REPORT_GROUP_MSG       = 'report_group_msg';   // 举报群组消息
    public const KEY_REPORT_USER_MSG        = 'report_user_msg';    // 举报用户消息

    /**
     * @return static
     * tag
     */
    public static function tag():self
    {
        return parent::tag()->config(self::TABLE_NAME, self::FIELD_ID, self::FIELD_KEY);
    }
}